<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">

<head th:replace="header :: common_header(~{::title},~{::link})">
<title>秒到2.0综合管理后台-商户列表</title>
</head>
<body
	class="page-header-fixed page-sidebar-closed-hide-logo page-content-white">
		<!-- <div class="page-wrapper"> -->
		<div class="page-header navbar navbar-fixed-top"
			th:insert="~{index :: navbar-top}"></div>
		<div class="clearfix"></div>
		<div class="page-container">
			<div class="page-sidebar-wrapper" th:insert="~{index :: sidebar}">
			</div>
			<div class="page-content-wrapper">
				<div class="page-content">
					<!--<div class="page-bar">
						<ul class="page-breadcrumb">
							<li><a href="#">首页</a> <i class="fa fa-circle"></i></li>
							<li><a href="#">业务管理</a> <i class="fa fa-circle"></i></li>
							<li><span>商户管理</span></li>
						</ul>
					</div>-->
					<div class="content">
						<div class="portlet light">
							<div class="portlet-title">
								<div class="caption">
									<i class=""></i>商户列表
								</div>
								<div class="actions">
									<div class="btn-group"></div>
								</div>
							</div>
							<div class="portlet-body">
							<form action="" method="post" name="form1" id="form1" class="margin-bottom">
							<div class="form-horizontal">
								<div class="form-group">
									<label class="control-label col-lg-1 text-center">店铺名称</label>
									<div class="col-lg-2">
										<input type="text" class="form-control " name="name">
									</div>
									<label class="control-label col-lg-1 text-center">手机号</label>
									<div class="col-lg-2">
										<input type="text" class="form-control " name="phone">
									</div>
							        <label class="control-label col-lg-1 text-center">开通时间</label>
									<div class="col-lg-2">
										<input type="text" class="form-control " name="createDate1" value=""
											onClick="WdatePicker({dateFmt:'yyyy/MM/dd HH:mm'})">
									</div>
									<label class="control-label pull-left">到</label>
									<div class="col-lg-2">
										<input type="text" class="form-control " name="createDate2" value=""
											onClick="WdatePicker({dateFmt:'yyyy/MM/dd HH:mm'})">
									</div>
									
									
								</div>
								<div class="form-group">
									<label class="control-label col-lg-1 text-center">模版</label>
								<!--  	<div class="col-lg-2" th:if="${not #lists.isEmpty(tpList)}">
										
										<select class="form-control" name="templateId">
										    <option value="">—— 模板 ——</option>
											<option th:each="lp:${tpList}" th:text="${lp.name}">name</option>
										</select>
									</div> -->
									<div class="col-lg-2" >
									<select class="form-control" name="templateId">
										    <option value="">—— 模板 ——</option>
											 <option value="零售电商">云商(秒到2.0)</option>
											  <option value="技师服务">秒到来店</option>
										</select>
									</div>
									
									<div id="distpicker" data-toggle="distpicker">
											<lable class="col-md-1 control-label">省份</lable>
									
												<div class="col-lg-2">
													<select class="form-control " name="province"></select>
												</div>
													<lable class="col-md-1 control-label">城市</lable>
												<div class=" col-lg-2">
													<select class="form-control " name="city"></select>
												</div>
											</div>
									
										<!-- <lable class="col-md-1 control-label">省份</lable>
										<div class="col-lg-2">
											<select  name="province" class="form-control"></select>
										</div>
										<lable class="col-md-1 control-label">城市</lable>
										<div class="col-lg-2">
											<select  name="city" class="form-control"></select>
										</div> -->
									</div>
									<div class="input-append">
										<!--   <button class="btn " type="button">清除</button> -->
										<button class="btn btn-primary cy-pad-rgt-s" type="button" id="search" style="margin-left: 29px;">查询</button>
										<button class="btn green" type="button" onclick="add();">添加</button>
									</div>
								</div>
							</div>
									</form>	
								<table class="table table-striped table-bordered table-hover"
									id="table_role">
									<thead>
										<tr>
										<!-- 	<th>序号</th> -->
											<th>店铺名称</th>
											<th>手机号</th>
											<th>商户编号</th>
											<th>省份</th>
											<th>城市</th>
											<th>产品模板</th>
											<!-- <th>余日</th> -->
											<th >屡受关系</th>
											<th>开通时间</th>
											<th>状态</th>
											<th>停用时间</th>
											<th>操作</th>
										</tr>
									</thead>
									<tbody>
									</tbody>
								</table>
							</div>
							
												
				<!-- 转移选择上级代理商-->
				<div class="modal fade change-link" id="" data-backdrop="static" data-keyboard="false">
					<div class="modal-dialog" style="width:1000px">
						<div class="modal-content">
							<div class="modal-header">
								<button type="button" class="close" data-dismiss="modal">
	                            </button>
							</div>
							<div class="modal-body">
								<table class="table" id="table_agent_change">
									<thead>
										<tr>
										<th > 代理商名称 </th>
										<th > 级别 </th>
										<th > 类型 </th>
										<th > 手机号 </th>
										<th > 省份 </th>
										<th > 城市 </th>

										<th > 开通套数 </th>
										<th > 剩余套数 </th>
										<th > 代理时间 </th>
										<th > 操作 </th>
											
										</tr>
									</thead>
								</table>
							</div>

						</div>
					</div>
				</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="page-footer">
			<div class="page-footer-inner">
				2017 &copy; 秒迅科技
			</div>
			<div class="scroll-to-top">
				<i class="icon-arrow-up"></i>
			</div>
		</div>
	<!-- 业务js -->
	<script th:src="@{/assets/pages/scripts/tenants.js}"
		type="text/javascript"></script>
		  <script type="text/javascript">
      $('#distpicker').distpicker({
              autoSelect: false
        });
      </script>
</body>
</html>